package com.wb3.meta.api.core.model;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;

@Data
@Table(name = "winning_record")
public class WinningRecord {
    @Id
    @Column(name = "ID")
    private Integer Id;

    @Column(name = "PRIZE_ID")
    private Integer prizeId;

    @Column(name = "USER_ID")
    private Integer userId;

    /**
     * 收货地址
     */
    @Column(name = "ADDRESS")
    private String address;

    /**
     * 状态 0：待发货 1：已发货，2：已完成
     */
    @Column(name = "STATUS")
    private Integer status;

    @Column(name = "CREATOR")
    private String creator;

    @Column(name = "UPDATER")
    private String updater;

    @Column(name = "CREATE_TIME")
    private Long createTime;

    @Column(name = "UPDATE_TIME")
    private Long updateTime;
    private String raffleCode;
}